# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=alsa-ucm-conf-asahi
pkgver=5
pkgrel=0
pkgdesc="ALSA Use Case Manager configuration for Apple silicon devices"
url="https://asahilinux.org/"
arch="aarch64"
license="BSD-3-Clause"
depends="alsa-ucm-conf>=1.2.7.2"
source="$pkgname-$pkgver.tar.gz::https://github.com/AsahiLinux/alsa-ucm-conf-asahi/archive/refs/tags/v$pkgver.tar.gz"

package() {
	install -vdm 755 "$pkgdir/usr/share/alsa/ucm2/conf.d"
	cp -av ucm2/conf.d/macaudio "$pkgdir/usr/share/alsa/ucm2/conf.d/"
}

sha512sums="
4e2f8b0108c0ec4168ebe1dae88da0b486cc26695ca89fc450340fbc5532616847eb9c49097be5216e8b7b8cb7c62ac78032d253d4264ac0d0378817bf85af81  alsa-ucm-conf-asahi-5.tar.gz
"
